package com.niuwa.p2p.dao.credit;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.credit.PersonCourtInfo;

@MyBatisDao
public interface PersonCourtInfoDao {
	int deleteByPrimaryKey(Long id);

	int deleteByDocNo(String docNo);

	int insert(PersonCourtInfo record);

	int insertSelective(PersonCourtInfo record);

	PersonCourtInfo selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(PersonCourtInfo record);

	int updateByPrimaryKey(PersonCourtInfo record);

	PersonCourtInfo selectByPersonInfo(String name, String documentNo);
}